﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000E3D RID: 3645
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueAdventureRoomGameplayWolfGunInfo : IMessage<RogueAdventureRoomGameplayWolfGunInfo>, IMessage, IEquatable<RogueAdventureRoomGameplayWolfGunInfo>, IDeepCloneable<RogueAdventureRoomGameplayWolfGunInfo>, IBufferMessage
	{
		// Token: 0x17002E69 RID: 11881
		// (get) Token: 0x0600A3D7 RID: 41943 RVA: 0x001BA0B4 File Offset: 0x001B82B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueAdventureRoomGameplayWolfGunInfo> Parser
		{
			get
			{
				return RogueAdventureRoomGameplayWolfGunInfo._parser;
			}
		}

		// Token: 0x17002E6A RID: 11882
		// (get) Token: 0x0600A3D8 RID: 41944 RVA: 0x001BA0BB File Offset: 0x001B82BB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueAdventureRoomGameplayWolfGunInfoReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002E6B RID: 11883
		// (get) Token: 0x0600A3D9 RID: 41945 RVA: 0x001BA0CD File Offset: 0x001B82CD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueAdventureRoomGameplayWolfGunInfo.Descriptor;
			}
		}

		// Token: 0x0600A3DA RID: 41946 RVA: 0x001BA0D4 File Offset: 0x001B82D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueAdventureRoomGameplayWolfGunInfo()
		{
		}

		// Token: 0x0600A3DB RID: 41947 RVA: 0x001BA0DC File Offset: 0x001B82DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueAdventureRoomGameplayWolfGunInfo(RogueAdventureRoomGameplayWolfGunInfo other) : this()
		{
			if (other.GameplayGameInfoCase == RogueAdventureRoomGameplayWolfGunInfo.GameplayGameInfoOneofCase.GameInfo)
			{
				this.GameInfo = other.GameInfo.Clone();
			}
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600A3DC RID: 41948 RVA: 0x001BA10F File Offset: 0x001B830F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueAdventureRoomGameplayWolfGunInfo Clone()
		{
			return new RogueAdventureRoomGameplayWolfGunInfo(this);
		}

		// Token: 0x17002E6C RID: 11884
		// (get) Token: 0x0600A3DD RID: 41949 RVA: 0x001BA117 File Offset: 0x001B8317
		// (set) Token: 0x0600A3DE RID: 41950 RVA: 0x001BA12F File Offset: 0x001B832F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueAdventureRoomGameplayWolfGunGameInfo GameInfo
		{
			get
			{
				if (this.gameplayGameInfoCase_ != RogueAdventureRoomGameplayWolfGunInfo.GameplayGameInfoOneofCase.GameInfo)
				{
					return null;
				}
				return (RogueAdventureRoomGameplayWolfGunGameInfo)this.gameplayGameInfo_;
			}
			set
			{
				this.gameplayGameInfo_ = value;
				this.gameplayGameInfoCase_ = ((value == null) ? RogueAdventureRoomGameplayWolfGunInfo.GameplayGameInfoOneofCase.None : RogueAdventureRoomGameplayWolfGunInfo.GameplayGameInfoOneofCase.GameInfo);
			}
		}

		// Token: 0x17002E6D RID: 11885
		// (get) Token: 0x0600A3DF RID: 41951 RVA: 0x001BA145 File Offset: 0x001B8345
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueAdventureRoomGameplayWolfGunInfo.GameplayGameInfoOneofCase GameplayGameInfoCase
		{
			get
			{
				return this.gameplayGameInfoCase_;
			}
		}

		// Token: 0x0600A3E0 RID: 41952 RVA: 0x001BA14D File Offset: 0x001B834D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void ClearGameplayGameInfo()
		{
			this.gameplayGameInfoCase_ = RogueAdventureRoomGameplayWolfGunInfo.GameplayGameInfoOneofCase.None;
			this.gameplayGameInfo_ = null;
		}

		// Token: 0x0600A3E1 RID: 41953 RVA: 0x001BA15D File Offset: 0x001B835D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueAdventureRoomGameplayWolfGunInfo);
		}

		// Token: 0x0600A3E2 RID: 41954 RVA: 0x001BA16C File Offset: 0x001B836C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueAdventureRoomGameplayWolfGunInfo other)
		{
			return other != null && (other == this || (object.Equals(this.GameInfo, other.GameInfo) && this.GameplayGameInfoCase == other.GameplayGameInfoCase && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600A3E3 RID: 41955 RVA: 0x001BA1BC File Offset: 0x001B83BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.gameplayGameInfoCase_ == RogueAdventureRoomGameplayWolfGunInfo.GameplayGameInfoOneofCase.GameInfo)
			{
				num ^= this.GameInfo.GetHashCode();
			}
			num ^= (int)this.gameplayGameInfoCase_;
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600A3E4 RID: 41956 RVA: 0x001BA202 File Offset: 0x001B8402
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600A3E5 RID: 41957 RVA: 0x001BA20A File Offset: 0x001B840A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600A3E6 RID: 41958 RVA: 0x001BA213 File Offset: 0x001B8413
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.gameplayGameInfoCase_ == RogueAdventureRoomGameplayWolfGunInfo.GameplayGameInfoOneofCase.GameInfo)
			{
				output.WriteRawTag(58);
				output.WriteMessage(this.GameInfo);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600A3E7 RID: 41959 RVA: 0x001BA248 File Offset: 0x001B8448
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.gameplayGameInfoCase_ == RogueAdventureRoomGameplayWolfGunInfo.GameplayGameInfoOneofCase.GameInfo)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.GameInfo);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600A3E8 RID: 41960 RVA: 0x001BA288 File Offset: 0x001B8488
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueAdventureRoomGameplayWolfGunInfo other)
		{
			if (other == null)
			{
				return;
			}
			if (other.GameplayGameInfoCase == RogueAdventureRoomGameplayWolfGunInfo.GameplayGameInfoOneofCase.GameInfo)
			{
				if (this.GameInfo == null)
				{
					this.GameInfo = new RogueAdventureRoomGameplayWolfGunGameInfo();
				}
				this.GameInfo.MergeFrom(other.GameInfo);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600A3E9 RID: 41961 RVA: 0x001BA2DD File Offset: 0x001B84DD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600A3EA RID: 41962 RVA: 0x001BA2E8 File Offset: 0x001B84E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 58U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					RogueAdventureRoomGameplayWolfGunGameInfo rogueAdventureRoomGameplayWolfGunGameInfo = new RogueAdventureRoomGameplayWolfGunGameInfo();
					if (this.gameplayGameInfoCase_ == RogueAdventureRoomGameplayWolfGunInfo.GameplayGameInfoOneofCase.GameInfo)
					{
						rogueAdventureRoomGameplayWolfGunGameInfo.MergeFrom(this.GameInfo);
					}
					input.ReadMessage(rogueAdventureRoomGameplayWolfGunGameInfo);
					this.GameInfo = rogueAdventureRoomGameplayWolfGunGameInfo;
				}
			}
		}

		// Token: 0x040042C9 RID: 17097
		private static readonly MessageParser<RogueAdventureRoomGameplayWolfGunInfo> _parser = new MessageParser<RogueAdventureRoomGameplayWolfGunInfo>(() => new RogueAdventureRoomGameplayWolfGunInfo());

		// Token: 0x040042CA RID: 17098
		private UnknownFieldSet _unknownFields;

		// Token: 0x040042CB RID: 17099
		public const int GameInfoFieldNumber = 7;

		// Token: 0x040042CC RID: 17100
		private object gameplayGameInfo_;

		// Token: 0x040042CD RID: 17101
		private RogueAdventureRoomGameplayWolfGunInfo.GameplayGameInfoOneofCase gameplayGameInfoCase_;

		// Token: 0x02001C03 RID: 7171
		public enum GameplayGameInfoOneofCase
		{
			// Token: 0x04006776 RID: 26486
			None,
			// Token: 0x04006777 RID: 26487
			GameInfo = 7
		}
	}
}
